<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>GDG Poland</title>
        <?php echo $this->Html->meta('description', !empty($description_for_layout) ? $description_for_layout : 'Witamy na stronie głównej Google Developers Group (GDG) w Polsce. Zapraszamy do wzięcia udziału w naszych spotkaniach poświęconych technologii... nie tylko od Google :)'); ?>
        <meta name="viewport" content="width=device-width">
        <link rel="dns-prefetch" href="//ajax.googleapis.com" />
        <link rel="sitemap" type="application/xml" title="Sitemap"
              href="/sitemap.xml" />

        <meta name="application-name" content="GDG Polska" />
        <meta name="msapplication-tooltip"
              content="Google Developers Group w Polsce." />
        <!-- <meta name="msapplication-starturl" content="http://www.example.com/index.html?pinned=true" /> -->

        <meta property="og:title" content="GDG Polska" />
        <meta property="og:description"
              content="Strona główna Google Developers Group w Polsce." />
        <!-- <meta property="og:image" content="" /> -->

        <?php
        echo $this->fetch('meta');
        echo $this->Html->meta('icon');
        echo $this->Html->css(array('style', 'admin', 'smoothness/jquery-ui-1.8.21'));
        echo $this->fetch('css');
        ?>
        <script type="text/javascript">
            (function(){
                // if firefox 3.5+, hide content till load (or 3 seconds) to prevent FOUT
                var d = document, e = d.documentElement, s = d.createElement('style');
                if (e.style.MozTransform === ''){ // gecko 1.9.1 inference
                    s.textContent = 'body{visibility:hidden}';
                    var r = document.getElementsByTagName('script')[0];
                    r.parentNode.insertBefore(s, r);
                    function f(){ s.parentNode && s.parentNode.removeChild(s);}
                    addEventListener('load',f,false);
                    setTimeout(f,3000); 
                }
            })();
        </script>
        <?php
        echo $this->Html->script(array("libs/modernizr-2.6.1cb.min.js"));
        echo $this->fetch('script-top');
        ?>
    </head>
    <body>
        <? /*<header class="todo"><a href="<?=$this->Html->url('/clearcache')?>" target="_blank">Wyczyść cache</a></header> */ ?>
        <div class="main" role="main">
            <?php echo $this->Session->flash(); ?>
            <?php echo $this->fetch('content'); ?>
        </div>
        <div class="clearfix"></div>
        <footer>&copy; GDG Poland</footer>
        <script
		src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script>window.jQuery || document.write('<script src="/js/libs/jquery-1.7.2.min.js"><\/script>')</script>
        <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js"></script>
        <script>window.jQuery.ui || document.write('<script src="/js/libs/jquery-ui-1.8.21.min.js">\x3C/script>');</script>
        <?php
        echo $this->Html->script(array('plugins','script'));
        echo $this->fetch('scriptBottom');
        ?>
        <?php echo $this->element('sql_dump'); ?>
    </body>
</html>
